package org.haredot.dto;

import org.haredot.entity.Depart;

import java.util.List;

public class DepartDTO extends Depart {
    /**
     * 是否展开子节点
     */
    private boolean _showChildren = true ;

    private List<DepartDTO> children ;

    private Long pid ;

    public boolean is_showChildren() {
        return _showChildren;
    }

    public void set_showChildren(boolean _showChildren) {
        this._showChildren = _showChildren;
    }

    public List<DepartDTO> getChildren() {
        return children;
    }

    public void setChildren(List<DepartDTO> children) {
        this.children = children;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }
}
